package com.niiwoo.civet.trade.dao.mapper;

import com.niiwoo.civet.trade.dao.entity.ProjectAuditDecision;
import org.apache.ibatis.annotations.Param;

public interface ProjectAuditDecisionMapperExt extends ProjectAuditDecisionMapper {

    /**
     * 查询退回标的审核决策数据
     * @param borrowerUserId
     * @param projectId
     * @return
     */
    ProjectAuditDecision selectForBackProject(@Param("borrowerUserId") String borrowerUserId,@Param("projectId") Long projectId);

    /**
     * 查询审核不通过标的审核决策数据
     * @param borrowerUserId
     * @param projectId
     * @return
     */
    ProjectAuditDecision selectForNotPass(@Param("borrowerUserId") String borrowerUserId,@Param("projectId") Long projectId);
}